home *** CD-ROM | disk | FTP | other *** search
- The following are ARexx/'Liner commands, and their syntax. If applicable,
- they return nothing if there wasn't an error, 10 if the command failed.
- Note: the commands are in caps for emphesis only. They can be spelled
- in lowercase when writing scripts.
-
- OPEN filename - reads an outline off of a disk file named 'filename'
-
- SAVE filename - saves an outline to the file 'filename'
-
- NEW - delete an entire outline
-
- GETFILENAME - returns the filename of the current outline
-
- PRINTPRINTER - print an outline on the printer
-
- PRINTDISK filename - save the outline as an ASCII file named 'filename'
-
- QUIT - quit out of 'Liner
-
- DOUBCLICK outside - fake a mouse button double click; is reported as outside
- the line if 'outside' == 'true' (i.e. used for highlighting
- a block of lines).
-
- SETTITLEMSG - put a message into 'Liner's title bar
-
- GETSTATS - get stats on current line (level, number, continuation)
-
- GETCHAR - returns the character under the cursor; returns NULL at end of line
-
- GETWORD - returns the word that the cursor is in
-
- GETLINETEXT - returns the text of an entire line
-
- CUT - cut the marked section to the clipboard
-
- COPY - copy the marked section to the clipboard
-
- PASTE - paste the last cut section from the clipboard
-
- ERASE - delete the marked section
-
- CURSORUP - move the cursor up one line
-
- CURSORDOWN - move the cursor down one line
-
- CURSORLEFT - move the cursor left one character
-
- CURSORRIGHT - move the cursor right one character
-
- TOTOP - move the cursor to the top of the document
-
- TOBOTTOM - move the cursor to the end of the document
-
- UPSCREEN - move the cursor up one screen
-
- DOWNSCREEN - move the cursor down one screen
-
- DOUBSPACING true/false - set double spacing to TRUE or FALSE
-
- INTERLACED true/false - choose interlaced screen (true == interlaced)
-
- ICONS true/false - create icons; true or false
-
- SCRNSIZE standard/workbench - choose between a standard or workbench sized screen
-
- STARTINGLEVEL n - choose the starting level 'n' 0-5 (I. == 0, A. == 1, etc.)
-
- LOADPREFS - load the preferences from 'liner:prefs'
-
- SAVEPREFS - save the preferences to 'liner:prefs'
-
- SEARCH cs pw so phrase [replacement] - search for 'phrase' options
- are (in order): case sensitive/not case sensitive; 'phrase'
- can/can not be a part of a word; search only/search & replace.
- Each of the three option spaces should have a t (for true)
- f (for false), or u (for unchanged, i.e. from what the user
- specified in the requestor). Example:
-
- SEARCH f u t Macintosh Amiga
-
-
- INSTEXT text - insert 'text' before cursor
-
- GETLINE - returns the entire current line, complete with number. ex:
- ( B. Amiga's are the obvious choice)
-
- FAKERETURN shift - sends 'Liner a fake RETURN keypress (SHIFT-RETURN if 'shift'
- == 'true').
-
- PUSHIN - sends 'Liner a fake TAB
-
- PULLOUT - sends 'Liner a fake SHIFT-TAB
-
- STARTLINE - move the cursor to the start of the line
-
- ENDLINE - move the cursor to the end of the line
-
- FAKEBS - send 'Liner a fake backspace
-